- Message
- The name of the message to send.
- data
- The extra data to send along with the message.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SendMessage( _ ByVal Message As String, _ ByVal ParamArray data() As Object _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- Message
- The name of the message to send.
- data
- The extra data to send along with the message.
For an example refer to ServiceAdministrator.InstallService
The T:Message event will be generated when a response is received. The service needs to be
running before it can accept messages.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family